const express=require('express')
const userRouter=require('./router/users')
const app=express()
//注册routes
app.use('/user',userRouter)

app.listen(8000,()=>{
    console.log("服务器启动成功")
})